<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>发布任务</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-10 column">
            <div class="page-header">
                <h1>
                    <small>发布作业任务</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/task/addTask" method="post" id="taskform">
        <div class="form-group">
            <label>作业任务名字：</label>
            <input type="text" name="task_name" class="form-control" required>
        </div>
        <div class="form-group">
            <label>开始日期：</label>
            <input type="date" name="start_time" class="form-control" required>
        </div>
        <div class="form-group">
            <label>截止日期：</label>
            <input type="date" name="stop_time" class="form-control" required>
        </div>
        <div class="form-group">
            <label>问题：</label>
<%--            <input type="text" name="text_content" class="form-control" required>--%>
            <textarea name="text_content" style="width: 500px; height: 300px " cols="30" rows="4" form="taskform">
            </textarea>
        </div>
        <div class="form-group">
            <label>附件：</label>
            <input type="text" name="tipss" class="form-control" required>
        </div>
        <div class="form-group">
            <label>课程名：</label>
            <input type="text" name="cname" class="form-control" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="发布">
            <span>${msg}</span>
        </div>

    </form>

</div>
</body>
</html>
